package com.liuhaoqi.raletiveblog.result.business.PageResult;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.liuhaoqi.raletiveblog.entity.Test;
import com.liuhaoqi.raletiveblog.entity.dto.CommentDto;
import com.liuhaoqi.raletiveblog.result.Page;

import java.util.Date;
import java.util.List;

/**
 * @Author liuhaoqi
 * @Date 2020/9/14 18:38
 * @Version 1.0
 */
public class TestPageResult extends Page {
    private Integer commentid;

    private String content;

    private Integer userid;

    private Integer blogid;

    private Integer parentcommentid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createtime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatetime;

    private List<TestPageResult> replies;


    public Integer getCommentid() {
        return commentid;
    }

    public void setCommentid(Integer commentid) {
        this.commentid = commentid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getBlogid() {
        return blogid;
    }

    public void setBlogid(Integer blogid) {
        this.blogid = blogid;
    }

    public Integer getParentcommentid() {
        return parentcommentid;
    }

    public void setParentcommentid(Integer parentcommentid) {
        this.parentcommentid = parentcommentid;
    }

    public List<TestPageResult> getReplies() {
        return replies;
    }

    public void setReplies(List<TestPageResult> replies) {
        this.replies = replies;
    }
}
